Crate salvo_core[][src]

Re-exports

pub use anyhow;
pub use hyper;
pub use self::http::Request;
pub use self::http::Response;
pub use self::writer::Writer;

Modules

fs
http
prelude
routing
writer

Structs

CatcherImpl

Default implementation of Catcher.

Depot

Depot if for store temp data of current request. Each handler can read or write data to it.

Error

Errors that can happen inside salvo.

Router
Server
Service
TlsServer

Traits

Catcher

Catch error in current response.

Handler

Functions

start

If you don’t want to include tokio in your project directly, you can use this function to start server.

start_with_threads

If you don’t want to include tokio in your project directly, you can use this function to start server.

Type Definitions

Result

Attribute Macros

async_trait
fn_handler